checkResize

3,982 views
Skip to first unread message

testb...@googlemail.com

unread,
Jun 17, 2009, 10:27:37 AM6/17/09
to Google Maps JavaScript API v3
In API v2 there was a map method "checkResize", that checked if the
container had changed. Is there an equivalent in v3? After changing
the container, the bounds of the map are not correct.

wctang

unread,
Jun 17, 2009, 9:33:16 PM6/17/09
to Google Maps JavaScript API v3
I also have the same question. The Map options have "noResize"
property, default is not set, but it only resize the map bound when
"browser window" resize, not the map canvas div resize.

On 6月17日, 下午10時27分, "testbaud...@googlemail.com"

Simon The Bear

unread,
Jun 17, 2009, 9:35:38 PM6/17/09
to Google Maps JavaScript API v3
Do you mean when the size of the container changes, or a physical move
of the map to a different dom element? If you mean the former, the
bounds are being reported correctly for me when the container
dimensions change...

Si

On Jun 17, 3:27 pm, "testbaud...@googlemail.com"

wctang

unread,
Jun 18, 2009, 4:46:24 AM6/18/09
to Google Maps JavaScript API v3
This is a simple example:
http://www.csie.nctu.edu.tw/~wctang/mapv3test.html
In v2, this problem can be solved by checkResize.

pamela (Google Employee)

unread,
Jun 21, 2009, 10:05:30 PM6/21/09
to google-map...@googlegroups.com
Thanks for that example, I've shared with the team and expressed the
need for a checkResize or equivalent.


2009/6/18 wctang <wct...@gmail.com>:

Christoph Baudson

unread,
Jul 6, 2009, 10:30:04 AM7/6/09
to google-map...@googlegroups.com
pamela: when can we expect news whether there will be a change wrt checkResize in the new API?

appreciated, thanks

2009/6/22 pamela (Google Employee) <pame...@gmail.com>

pamela (Google Employee)

unread,
Jul 7, 2009, 1:21:18 AM7/7/09
to google-map...@googlegroups.com
Hey Christopher -

You can star this issue to be notified of updates:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=1448

- pamela
Reply all
Reply to author
Forward
0 new messages